package top.vanchor.myblog2back.entity.gameCenter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Ding
 * @create 2022/1/20 15:45
 */
@Data
@ApiModel(description = "炸飞机websocket消息内容")
public class BlowUpPlaneBean {
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "消息")
    private String msg;

    @ApiModelProperty(value = "在线人数")
    private int count;

    @ApiModelProperty(value = "发送时间（时间戳）")
    private String sendTime;

    @ApiModelProperty(value = "消息类别-0聊天信息-1上线通知-2下线通知-3异常警告")
    private Integer msgType;

    @ApiModelProperty(value = "对方是否在线-0未在线-1在线")
    private Integer isOnline;

    @ApiModelProperty(value = "数据")
    private Object data;
}
